'use strict';

module.exports = app => {
  const { STRING, INTEGER, DATE } = app.Sequelize;

  const sys_user_role = app.model.define('sys_user_role', {
    sysUserUserId:{
      field:'user_id',
      type:INTEGER
    },
    sysRoleRoleId:{
      field:"role_id",
      type:INTEGER
    }
  },{
    freezeTableName:true,
    timestamps:false
  });

  return sys_user_role;
};